Skip to main content

Download Installer Enhanced

Route

/v2/installer/{platform}/{version}

Description

Download installer with enhanced platform and version options. This endpoint provides access to specific installer versions with additional configuration options.

Method

GET

Inputs

ParameterTypeRequiredDescription
platformstringYesTarget platform (windows, macos, linux)
versionstringYesInstaller version (e.g., "25.04.1", "latest")
architecturestringNoSystem architecture (x64, arm64, x86)
formatstringNoInstaller format (msi, exe, pkg, deb, rpm)
configurationstringNoPre-configuration profile ID
deployment_groupstringNoTarget deployment group

Query Parameters

GET /v2/installer/windows/25.04.1?architecture=x64&format=msi&configuration=config-123

Output

FieldTypeDescription
Binary DatafileInstaller binary file

Response Headers

HeaderDescription
Content-Typeapplication/octet-stream
Content-Dispositionattachment; filename="cyberhaven-installer-{platform}-{version}.{format}"
Content-LengthFile size in bytes
X-Installer-VersionActual installer version
X-Installer-PlatformTarget platform
X-Installer-ArchitectureTarget architecture
X-Installer-ChecksumSHA256 checksum of the file

Rate Limit

  • 10 downloads per minute per API key
  • 2 concurrent downloads per endpoint

Platform Support

Windows

  • Architectures: x64, x86
  • Formats: msi, exe
  • Versions: 25.03.0+

macOS

  • Architectures: x64, arm64 (Apple Silicon)
  • Formats: pkg
  • Versions: 25.03.0+

Linux

  • Architectures: x64, arm64
  • Formats: deb, rpm
  • Versions: 25.04.0+

Example Usage

Download Latest Windows Installer

curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.cyberhaven.com/v2/installer/windows/latest?architecture=x64&format=msi" \
-o cyberhaven-installer.msi

Download Specific macOS Version

curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.cyberhaven.com/v2/installer/macos/25.04.1?architecture=arm64&format=pkg" \
-o cyberhaven-installer.pkg

Download with Pre-configuration

curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.cyberhaven.com/v2/installer/linux/latest?format=deb&configuration=config-456" \
-o cyberhaven-installer.deb

Error Responses

Version Not Found

{
"errors": [
{
"code": 404,
"message": "Installer version 25.02.0 not found for platform windows"
}
]
}

Unsupported Platform/Architecture

{
"errors": [
{
"code": 400,
"message": "Architecture arm64 not supported for platform windows"
}
]
}

Invalid Configuration

{
"errors": [
{
"code": 400,
"message": "Configuration profile config-invalid not found"
}
]
}

Notes

  • The latest version always returns the most recent stable release
  • Pre-configuration profiles must be created through the admin console
  • Deployment groups allow for staged rollouts and testing
  • All installers are digitally signed and include automatic update capabilities
  • Downloaded installers include embedded configuration when specified